package com.example.pet.hystrix;

import com.example.pet.service.PetShowService;
import com.hj.pet.model.PetInfo;
import com.hj.pet.model.QueryCondition;
import com.hj.pet.model.ReturnT;
import org.springframework.stereotype.Component;
@Component
public class PetShowServiceHystrix implements PetShowService {

    @Override
    public ReturnT<?> save(PetInfo petInfo) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> updateById(PetInfo petInfo) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> findPetById(int petId) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> findPetsByType(String type) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> findPetsByPrice(Integer price1, Integer price2) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> findPetsByUserAccount(String user_account) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> findPetsByPetName(String pet_name) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> delPetById(int petId) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> showList(QueryCondition queryCondition) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> findAll() {
        return null;
    }
}
